package pojo;

/**
 * 商品收藏表的实体类
 * @author 代传斌
 */
public class Comcollect {

    /**
     * 商品收藏id
     */
    private int ctId;


    /**
     * 会员id
     */
    private int uId;

    /**
     * 商品id集合
     */
    private int wareId;

    /**
     * 会员昵称
     */
    private String uNickName;

    /**
     * get/set方法
     */
    public int getCtId() {
        return ctId;
    }

    public void setCtId(int ctId) {
        this.ctId = ctId;
    }

    public int getUId() {
        return uId;
    }

    public void setUId(int uId) {
        this.uId = uId;
    }

    public int getWareId() {
        return wareId;
    }

    public void setWareId(int  wareId) {
        this.wareId = wareId;
    }

    public String getuNickName() {
        return uNickName;
    }

    public void setuNickName(String uNickName) {
        this.uNickName = uNickName;
    }

    /**
     * 无参构造
     */
    public Comcollect() {
    }

    /**
     * 有参构造
     */

    public Comcollect(int ctId, int uId, int wareId, String uNickName) {
        this.ctId = ctId;
        this.uId = uId;
        this.wareId = wareId;
        this.uNickName = uNickName;
    }

    /**
     * toString方法
     */
    @Override
    public String toString() {
        return "Comcollect{" +
                "ctId=" + ctId +
                ", uId=" + uId +
                ", wareId='" + wareId + '\'' +
                ", uNickName='" + uNickName + '\'' +
                '}';
    }
}
